<!--
 * @Date: 2024-05-10 09:55:33
 * @LastEditors: 王帅 1677191300@qq.com
 * @LastEditTime: 2024-06-27 10:21:46
 * @FilePath: \pcVue3\src\views\Marked.vue
 * @Description: 
-->
<template>
    <div id="contentMarked">
    </div>
</template>
<script setup lang="ts">
// let m_d= require("./vite 常用配置.md")
import axios from "axios"

import { onMounted } from "vue";
onMounted(() => {
    let dom = document.getElementById('contentMarked')
    if (dom) {
        axios.get("http://192.168.1.15:8081/Markdown.md").then(res => {
            console.log(res)
            // @ts-ignore
            dom.innerHTML =marked.parse(res.data);  
        })
    }
})

</script>
<style scoped lang="scss">
@import "@/themes/index.scss";




</style>